package ml.dreamr.capture.qqbrowser;

import android.app.*;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.content.*;

public class MainActivity extends Activity
{
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState)
	{
        super.onCreate(savedInstanceState);
		Intent i = new Intent();
		i.setAction("com.tencent.mtt."+
		"zxing.SCAN");
		try{
			startActivity(i);
		}catch(Exception e){
			Toast.makeText(this,"请先安装QQ浏览器",Toast.LENGTH_SHORT);
		}
		finish();
    }
}
